import {post,get} from '../utils/request'
// 系统设置

// 网站设置
const settinglist=()=>{
    return get('api/visit/systemctl/settinglist')
}

// 修改网站设置
const settingedit=(data:any)=>{
  return post('api/visit/systemctl/settinglist/edit',data)
}

// 列表
const field=()=>{
  return get('api/visit/systemctl/field')
}

// 启用/不启用核销人员
const changestatus=(data:any)=>{
  return post('api/visit/reviewer/changestatus',data)
}

// 添加，修改
const addxiu=(data:any)=>{
  return post('api/visit/systemctl/field/edit',data)
}

export {settinglist,settingedit,field,changestatus,addxiu}
